package com.game.server.message.proto.execute;

import com.comm.ISession;
import com.game.majiang.config.LogManager;
import com.game.majiang.logic.LogicClient;
import com.game.majiang.logic.LogicServer;
import com.game.server.message.proto.in.Abstractgetuserinfo;

public class getuserinfo extends Abstractgetuserinfo {

    @Override
    public void Execute(ISession session) {
        LogManager.getInstance().Log("用户信息");
        LogicClient client = (LogicClient) LogicServer.getInstance().getClient(session.getId());
        if (client != null&&client.checkClick(msgcode)) {
//        	long a1 = System.currentTimeMillis();
        	client.getVo().getuserinfo(client);
//        	long a2 = System.currentTimeMillis();
//        	LogManager.getInstance().Logsym("刷新玩家users"+(a2-a1));
        }
    }

}
